package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "AlarmHandleVO", description = "告警详情")
public class AlarmHandleVO {
    @ApiModelProperty(value = "处理告警id")
    private Long id;

    @ApiModelProperty(value = "告警处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date handleTime;

    @ApiModelProperty(value = "告警处理意见")
    private String handleIdea;

    @ApiModelProperty(value = "处理人名字")
    private String handleUserName;

    @ApiModelProperty(value = "处理人主键ID")
    private Long handleUserId;

    @ApiModelProperty(value = "告警关联id")
    private Long alarmId;

    @ApiModelProperty(value = "告警处理照片（list）")
    private String handleAttach;

    @ApiModelProperty(value = "处理类型(1-系统处理 2-责任人处理)")
    private Integer handleType;
}